# add_subdirectory(googletest)

set(CMAKE_CXX_STANDARD 17) # for windows XP compatibility
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)

enable_testing()
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)


add_executable(test tst_getrank.cpp)
target_include_directories(test
    PRIVATE
    ${CMAKE_SOURCE_DIR}/mdict-cpp/src/include/
)
target_link_libraries(test GTest::gtest_main
mdict
)
